package com.shms.bean;

import java.util.List;

import com.shms.entity.ShBuild;

/**
 * 文件名：GroupOfBuilds.java
 * 编写者：赵振东
 * 创建时间：2013-3-18
 * 简要描述：
 * 用于封装动态信息及其分组信息的JavaBean类
 */
public class GroupOfBuilds {
	private List<ShBuild> ShBuild;
	//当前页数
	private int currentPage;
	//总页数
	private int totalPage;
	//总条数
	private int allRow;
	//每页显示条数
	private int PageSize;
	//前一页或后一页的标志
	private String type;
	public GroupOfBuilds() {}
	public GroupOfBuilds(int currentPage, int totalPage, int allRow, List<ShBuild> ShBuild) {
		this.currentPage = currentPage;
		this.totalPage = totalPage;
		this.allRow = allRow;
		this.ShBuild = ShBuild;
	}
	public List<ShBuild> getShBuild() {
		return ShBuild;
	}
	public void setShBuild(List<ShBuild> shBuild) {
		ShBuild = shBuild;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getAllRow() {
		return allRow;
	}
	public void setAllRow(int allRow) {
		this.allRow = allRow;
	}
	public int getPageSize() {
		return PageSize;
	}
	public void setPageSize(int pageSize) {
		PageSize = pageSize;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
}
